#include <stdio.h>
main()
{
	int a;
	int k = 0;
	scanf("%d", &a);
	while (a > 0)
	{
	a = a/10;
	k++;
	}
	printf("%d", k);
}
